package com.yonyougov.devops.cruxcisupport.backupuser.dto;

import com.yonyougov.devops.fwc.api.dto.BaseRequestDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigInteger;
import java.util.List;

/**
 * 转测请求Dto,对应前端转测按钮
 */
@ApiModel(value = "转测按钮模块")
@Data
public class IssuedTestRequestDto extends BaseRequestDto {
    @ApiModelProperty(required = true, value = "提测Id")
    @NotNull
    private BigInteger commitTestId;

    @ApiModelProperty(required = true, value = "转测人Ids")
    @NotNull
    private List<BigInteger> testUserIds;

    @ApiModelProperty(required = true, value = "描述")
    @NotEmpty
    private String remark;
}
